package com.shuaiqidefeng.PDFToJPG;

import java.io.File;

public class FileTool {
    //删除文件夹里的所有文件
    public boolean deleteFile(File file){
        File[] files = file.listFiles();
        for (File file1 : files) {
            file1.delete();
        }
        return file.delete();
    }
}
